/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package wat.clientapp.connection;

/**
 *
 * @author Krzysiek
 */
public class ConnectionParameters {
    private static ConnectionParameters instance;

    private String host = "localhost";
    private int port = 7000;
    private boolean useSSL = true;

    private ConnectionParameters() {

    }

    public static ConnectionParameters getInstance() {
        if(instance == null) {
            instance = new ConnectionParameters();
        }
        return instance;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public boolean isUseSSL() {
        return useSSL;
    }

    public void setUseSSL(boolean useSSL) {
        this.useSSL = useSSL;
    }
}
